BASE   = $(shell pwd)/..
OUTPUT = libPRADA.so
OPTIM  = fast
#OPTIM  = fast_debug
#OPTIM  = debug
SRC_PATH := $(BASE)/src/
CPATH  := $(CPATH):$(SRC_PATH)
CXXFLAGS += -I$(SRC_PATH)

TL_OBJ =  \
        $(SRC_PATH)TL/logicDefinitions.o \
        $(SRC_PATH)TL/logicObjectDatabase.o \
        $(SRC_PATH)TL/logicObjectManager.o \
        $(SRC_PATH)TL/logicReasoning.o \
        $(SRC_PATH)TL/ruleReasoning.o \
        $(SRC_PATH)TL/utilTL.o \
        $(SRC_PATH)TL/plan.o \
        $(SRC_PATH)TL/prada.o \
	$(SRC_PATH)TL/ruleLearner.o

OBJS     = \
	$(SRC_PATH)MT/libMT.o \
        $(TL_OBJ)

CXXFLAGS += -DMT_IMPLEMENT_TEMPLATES
include $(BASE)/make-generic

# On x86-64 systems, you might need to add -fPIC to the compiler flags.
